package com.example.demo.exception;

/**
 * @author redjava
 * @create 2021-07-28 22:29
 */
public enum CustomizeErrorCode implements ICustomizeErrorCode {
    QUESTION_NOT_FOUND("问题不存在！！！");
    private String message;

    @Override
    public String getMessage() {
        return message;
    }

    CustomizeErrorCode(String message) {
        this.message=message;
    }
}
